Represents .Net Control. It lets you place .Net control onto HTML page and use it from script.
To use properties/methods of .Net control from JScript, VBScript and other ActiveX scripts those properties and methods should be COM-visible - most .Netácontrols that are included in .Net framework are not COM-visible, most .Netácontrols in custom assemblies are COM-visible. If you need to use .Net control included that is not COM-visible, you may create COM-visible descendant and use it.
Not all .Net controls can be successfully placed onto HTML page. For example, DataGrid does not display data if placed on HTML page.
www-Sharp.ClrHost will create .Net control with its default constructorá(constructor that has no parameters) and will set properties to values specified with PARAM tags.
Property | Description |
---|---|
Control | Instance of .Net control. This property is default. |
Public properties and methods exposed by .Netácontrol could be used too.
Parameter | Description |
---|---|
AssemblyName | The display name of the assembly. Instance is created with AppDomain.CreateInstance() method. |
TypeName | Full type name (with namespace). |
Public properties could be set with PARAM tag.